<!DOCTYPE html>
<html>

<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <!--<link href="//cdn.bootcss.com/webuploader/0.1.1/webuploader.css" rel="stylesheet">-->
    <link rel="stylesheet" type="text/css" href="vendors/layui/css/layui.css">
    <link href="vendors/webuploader/webuploader.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="style/index.css">
</head>
<style>

</style>

<body>
    <div id="title_edit" class="ifa_iftitle_edit">
        <div class="inner_content ifa_ifinner_content">
            <div id="edit_main" class="ifa_ifmain_edit">
                <input type="text" id="title_edit_input" class="ifa_ifmain_input" maxlength="20">
            </div>
            <div id="edit_bottom" class="ifa_ifedit_bottom clearfix">
                <p>The content widthin 20 characters</p>
                <p id="edit_ok" class="ifa_ifedit_ok">
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-wancheng"></use>
                    </svg>
                    &nbsp<span>OK</span></p>
            </div>
        </div>
    </div>

    <script src="vendors/jquery/jquery.min.js"></script>
    <!--<script src="//cdn.bootcss.com/webuploader/0.1.1/webuploader.min.js"></script>-->
    <script src="//at.alicdn.com/t/font_glu3t3h6862vgqfr.js"></script>
    <script src="vendors/layui/lay/dest/layui.all.js"></script>


    <script type="text/javascript">
        $('#title_edit_input').val(parent.albumTitle);
        parent.$('#ifa_zsj_albumTitle').html(parent.albumTitle);
        $('#edit_ok').on('click', function () {
            parent.albumTitle = $('#title_edit_input').val();
            parent.$('#ifa_zsj_albumTitle').html(parent.albumTitle);
            var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
            parent.layer.close(index); //再执行关闭   
        })
    </script>
</body>

</html>